﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace AiChiTu.TraceabilitySystem.ErrorCode
{
	/// <summary>
	/// 返回码
	/// </summary>
	public enum ResultCode
	{
		[Description("登录成功")]
		LoginSuccess = 100,								
		[Description("登录失败")]
		LoginFailed = 101,								
		[Description("添加成功")]
		CreateSuccess = 200,							
		[Description("添加失败")]
		CreateFailed = 201,								
		[Description("修改成功")]
		UpdateSuccess = 300,							
		[Description("修改失败")]
		UpdateFailed = 301,								
		[Description("查询成功")]
		QuerySuccess = 400,								
		[Description("查询失败")]
		QueryFailed = 401,								
		[Description("删除成功")]
		DeletedSuccess = 500,
		[Description("删除失败")]
		DeletedFailed = 501,
	}
}
